﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Imaginecup.util.compute
{
    public class VectorCompute
    {
        public static bool IsShortestThan(Vector2 pos , Vector2 shortPos , Vector2 comparePos)
        {
            if (Vector2.Distance(pos, shortPos) > Vector2.Distance(pos, comparePos))
                return false;            
            
            return true;
        }
    }
}
